<%--
  Created by IntelliJ IDEA.
  User: 娅娅
  Date: 2021/9/3
  Time: 19:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改联系人</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/contact/update" method="post">
    <table align="center">
        <tr>
            <td colspan="2" align="center"><h2>修改联系人</h2></td>
        </tr>
        <tr>
            <td ><input type="hidden" name="id" value="${contact.id}"></td>
        </tr>
        <tr>
            <td>
                姓名：<input type="text" name="cname" value="${contact.cname}">
            </td>
        </tr>
        <tr>
            <td>
                手机：<input type="text" name="mobile"value="${contact.mobile}" >
            </td>
        </tr>
        <tr>
            <td>
                QQ：<input type="text" name="qq" value="${contact.qq}">
            </td>
        </tr>
        <tr>
            <td>
                Email：<input type="text" name="email" value="${contact.email}">
            </td>
        </tr>
        <tr>
            <td>
                地址：<input type="text" name="address" value="${contact.address}">
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="保存">
                &nbsp;&nbsp;
                <input type="reset" value="重置">
            </td>
        </tr>
    </table>
</form>
</body>
</html>
